<template>
	<view>
		<view v-for="(item,index) in appraiseList" class="cflex-r cbg-white  u-m-15" style="border-radius: 25rpx;">
			<view style="" class="u-p-l-20 u-p-t-10 u-p-r-10">
				<image src="../../static/weiDL.png" style="width: 64rpx;height: 64rpx;border-radius: 50%;" mode="aspectFill"></image>
			</view>
			<view class="cflex-c u-p-10" style="width: 100%;">
				<view class="cflex-r u-p-r-15" style="justify-content: space-between;align-items: center;">
					<view>匿名用户</view>
					<view class="u-font-12" style="color: #aaaaaa;">{{item.addtime}}</view>
				</view>
				<view class="u-p-b-20">
					<image :src="'../../static/star/smallStar'+item.score+'.png'"
					style="width: 125rpx;height: 0;" use-slot="false" mode="widthFix"></image>
				</view>
				<view>
					{{item.content}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				appraiseList:[],//评价列表
			}
		},
		onShow() {
			this.httpRequest();
		},
		methods: {
			httpRequest(){//获取数据
				this.$request("worker/other/appraise",{pageNo:1,pageSize:20}).then(res=>{
					this.appraiseList=res.data;
					console.log("ite",this.appraiseList)
				});
			},
		}
	}
</script>

<style>

</style>
